3.134 \(\int \frac{\left (a^2+2 a b x^3+b^2 x^6\right )^p}{x^2} \, dx\)

Optimal. Leaf size=58 \[ -\frac{\left (\frac{b x^3}{a}+1\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (-\frac{1}{3},-2 p;\frac{2}{3};-\frac{b x^3}{a}\right )}{x} \]

[Out]

-(((a^2 + 2*a*b*x^3 + b^2*x^6)^p*Hypergeometric2F1[-1/3, -2*p, 2/3, -((b*x^3)/a)
])/(x*(1 + (b*x^3)/a)^(2*p)))

_______________________________________________________________________________________

Rubi [A]  time = 0.0496543, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083 \[ -\frac{\left (\frac{b x^3}{a}+1\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (-\frac{1}{3},-2 p;\frac{2}{3};-\frac{b x^3}{a}\right )}{x} \]

Antiderivative was successfully verified.

[In]  Int[(a^2 + 2*a*b*x^3 + b^2*x^6)^p/x^2,x]

[Out]

-(((a^2 + 2*a*b*x^3 + b^2*x^6)^p*Hypergeometric2F1[-1/3, -2*p, 2/3, -((b*x^3)/a)
])/(x*(1 + (b*x^3)/a)^(2*p)))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 17.2192, size = 53, normalized size = 0.91 \[ - \frac{\left (1 + \frac{b x^{3}}{a}\right )^{- 2 p} \left (a^{2} + 2 a b x^{3} + b^{2} x^{6}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - 2 p, - \frac{1}{3} \\ \frac{2}{3} \end{matrix}\middle |{- \frac{b x^{3}}{a}} \right )}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b**2*x**6+2*a*b*x**3+a**2)**p/x**2,x)

[Out]

-(1 + b*x**3/a)**(-2*p)*(a**2 + 2*a*b*x**3 + b**2*x**6)**p*hyper((-2*p, -1/3), (
2/3,), -b*x**3/a)/x

_______________________________________________________________________________________

Mathematica [A]  time = 0.0294807, size = 49, normalized size = 0.84 \[ -\frac{\left (\left (a+b x^3\right )^2\right )^p \left (\frac{b x^3}{a}+1\right )^{-2 p} \, _2F_1\left (-\frac{1}{3},-2 p;\frac{2}{3};-\frac{b x^3}{a}\right )}{x} \]

Antiderivative was successfully verified.

[In]  Integrate[(a^2 + 2*a*b*x^3 + b^2*x^6)^p/x^2,x]

[Out]

-((((a + b*x^3)^2)^p*Hypergeometric2F1[-1/3, -2*p, 2/3, -((b*x^3)/a)])/(x*(1 + (
b*x^3)/a)^(2*p)))

_______________________________________________________________________________________

Maple [F]  time = 0.05, size = 0, normalized size = 0. \[ \int{\frac{ \left ({b}^{2}{x}^{6}+2\,ab{x}^{3}+{a}^{2} \right ) ^{p}}{{x}^{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b^2*x^6+2*a*b*x^3+a^2)^p/x^2,x)

[Out]

int((b^2*x^6+2*a*b*x^3+a^2)^p/x^2,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2,x, algorithm="maxima")

[Out]

integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2,x, algorithm="fricas")

[Out]

integral((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2, x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (\left (a + b x^{3}\right )^{2}\right )^{p}}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b**2*x**6+2*a*b*x**3+a**2)**p/x**2,x)

[Out]

Integral(((a + b*x**3)**2)**p/x**2, x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2,x, algorithm="giac")

[Out]

integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p/x^2, x)